import { ElNotification } from 'element-plus'

export function show_success_msg(title,msg) {
	ElNotification({
        type: 'success',
		title: title,
		message: msg,
        position: 'bottom-right',
	  })
}

export function show_warning_msg(title,msg) {
	ElNotification({
        type: 'warning',
		title: title,
		message: msg,
        position: 'bottom-right',
	  })
}

export function show_info_msg(title,msg) {
	ElNotification({
        type: 'info',
		title: title,
		message: msg,
        position: 'bottom-right',
	  })
}

export function show_error_msg(title,msg) {
	ElNotification({
        type: 'error',
		title: title,
		message: msg,
        position: 'bottom-right',
	  })
}

export function show_msg(title,msg) {
	ElNotification({
		title: title,
		message: msg,
        position: 'bottom-right',
	  })
}
